﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewRequest.aspx.cs" Inherits="OrderContract.NewRequest" %>

<%@ Register Src="../../Processes/ProcessControl/UserInfo_TY.ascx" TagName="UserInfo"
    TagPrefix="ui" %>
<%@ Register Src="../../Processes/ProcessControl/ApprovalHistory_TY.ascx" TagName="ApprovalHistory"
    TagPrefix="ah" %>
<%@ Register Src="../../Processes/ProcessControl/Attachments_TY.ascx" TagName="Attachments"
    TagPrefix="attach" %>
<%@ Register Src="../../Processes/ProcessControl/ButtonList_TY.ascx" TagName="ButtonList"
    TagPrefix="btn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>租车租房厨师雇用制式合同评审</title>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../js/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="../../js/common.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var b = request('type');
            if (b == 'myrequest') {
                var temp = $("#fld_VALIDCOUNT").val() + "个月";
                $("#fld_VALIDCOUNT").val(temp);
                $("#lblMonth").css("display", "none");
            } 
        });
        function checkpriceData() {
            if (($("#fld_TCONTRACTSPRICE").val() - 0) > 100000) {
                $("#fld_TCONTRACTSPRICE").focus();
                alert("合同金额不能大于十万");
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
        <div class="row">
            <ui:userinfo id="UserInfo1" processtitle="租车租房厨师雇用制式合同评审" processprefix="ORC" tablename="PROC_ORDERCONTRACT"
                runat="server">
            </ui:userinfo>
        </div>
        <div class="row">
            <table class="table table-condensed table-bordered">
                <tr>
                    <td class="banner" colspan="4">
                        详细信息
                    </td>
                </tr>
                <%--  <tr>
                    <td class="td-label"  >
                        所属主体：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:DropDownList  runat="server" ID="fld_TBELONGMAIN" CssClass="validate[required]">
                        <asp:ListItem Value="">--请选择--</asp:ListItem>
                        <asp:ListItem Value="新疆金风科技股份有限公司">新疆金风科技股份有限公司</asp:ListItem>
                        <asp:ListItem Value="北京金风科创风电设备有限公司">北京金风科创风电设备有限公司</asp:ListItem>
                        <asp:ListItem Value="北京天源科创风电技术有限责任公司">北京天源科创风电技术有限责任公司</asp:ListItem>
                        <asp:ListItem value="软件公司">软件公司</asp:ListItem>
                        </asp:DropDownList>
                        </td>
                        <td colspan="2"></td>
                    <td class="td-label">
                        合同名称：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="txtDesitination" runat="server" CssClass="validate[required]"></asp:TextBox>
                    </td> 
                </tr>--%>
                <tr>
                    <td class="td-label">
                        合同名称：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_TCONTRACTNAME" runat="server" CssClass=" validate[required]"></asp:TextBox>
                    </td>
                    <td class="td-label">
                        对方名称：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_TSIDENAME" runat="server" CssClass="validate[required]"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        合同总金额：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_TCONTRACTSPRICE" runat="server" onblur="checkpriceData()" money="money"
                            class="validate[required]"></asp:TextBox>
                    </td>
                    <td class="td-label">
                        合同编号：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:Label runat="server" ID="fld_TCONTRACTNO" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        合同有效期始：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_VALIDSTARTDATE" runat="server" OnClick="WdatePicker()" CssClass="validate[required] Wdate"></asp:TextBox>
                    </td>
                    <td class="td-label">
                        合同有效期止：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_VALIDENDDATE" runat="server" OnClick="WdatePicker()" CssClass="validate[required] Wdate"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        合同有效期：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                           <asp:TextBox ID="fld_VALIDCOUNT" runat="server" class="validate[required]" />
                           <asp:Label ID="lblMonth" Text="个月" runat="server" ></asp:Label>
                    </td>
                    <td class="td-label">
                        合同类型：<span class="red">*</span>
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:DropDownList ID="fld_TCONTRACTTYPE" runat="server" CssClass="validate[required]">
                            <asp:ListItem Value="">--请选择合同类型--</asp:ListItem>
                            <asp:ListItem Value="租车制式合同">租车制式合同</asp:ListItem>
                            <asp:ListItem Value="租房制式合同">租房制式合同</asp:ListItem>
                            <asp:ListItem Value="厨师雇佣制式合同">厨师雇用制式合同</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <%--  <td class="td-label">
                        业务类型：<span class="red">*</span>
                    </td>
                   <td class="td-content">
                          <asp:DropDownList ID="fld_TBUSSNIESSTYPE" runat="server"  CssClass="validate[required]">
                          <asp:ListItem Value="">--请选择业务类型--</asp:ListItem>
                          <asp:ListItem Value="设备物资">设备物资</asp:ListItem>
                            <asp:ListItem Value="材料销售">材料销售</asp:ListItem>
                            <asp:ListItem Value="产品销售">产品销售</asp:ListItem>
                            <asp:ListItem Value="测风咨询">测风咨询</asp:ListItem>
                            <asp:ListItem Value="硬件销售">硬件销售</asp:ListItem>
                            <asp:ListItem Value="软件销售">软件销售</asp:ListItem>
                            <asp:ListItem Value="协议订单">协议订单</asp:ListItem>
                            <asp:ListItem Value="技术服务合同">技术服务合同</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                </tr>
                <tr>
                    <td class="td-label">
                        签约对方情况:
                    </td>
                    <td colspan="3">
                        <table class="  table-bordered" width="100%">
                            <tr>
                                <td width="15%" style="background-color: #f5f5f5;">
                                    法定代表人:<span class="red">*</span>
                                </td>
                                <td style="width: 250px">
                                    <asp:TextBox runat="server" ID="fld_TLEGALPERSON" CssClass="validate[required]"></asp:TextBox>
                                </td>
                                <td width="15%" style="background-color: #f5f5f5;">
                                    注册资金:<span class="red">*</span>
                                </td>
                                <td style="width: 250px">
                                    <asp:TextBox runat="server" money="money" ID="fld_TREGISTEREDCAPITAL" CssClass="validate[required]"></asp:TextBox>
                                </td>
                                <%-- <td width="10%"   style="background-color: #f5f5f5;" >代理人:</td>
                    <td >
                    <asp:TextBox runat="server" ID="fld_TAGENT" Width="80%"  CssClass="validate[required]"></asp:TextBox><span class="red">*</span>
                    </td>
                    <td width="10%" style="background-color: #f5f5f5;" >代表权限:</td>
                    <td  >
                    <asp:TextBox runat="server" ID="fld_TBEHALFAUTHOR" Width="80%"     ></asp:TextBox>
                    </td>--%>
                            </tr>
                            <%--    <tr>
                    
                  <td  style="background-color: #f5f5f5;">资质:</td>
                   <td    >
                  <asp:TextBox runat="server" Width="80%" ID="fld_TINTELLIGENCE"></asp:TextBox>
                   </td>
                   <td  style="background-color: #f5f5f5;">信誉:</td>
                   <td  >
                   <asp:TextBox runat="server" Width="80%" ID="fld_TCREDIT"></asp:TextBox></td>
                    </tr> --%>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        合同主要内容:<span class="red">*</span>
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:TextBox runat="server" TextMode="MultiLine" ID="fld_TCONTRACTCONTENT" Height="50px"
                            Width="97%" CssClass="validate[required]"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <div class="row">
            <attach:attachments id="Attachments1" runat="server" required="true">
            </attach:attachments>
        </div>
        <div class="row">
            <ah:approvalhistory id="ApprovalHistory1" showaction="false" runat="server">
            </ah:approvalhistory>
        </div>
        <div class="row">
        </div>
    </div>
    <btn:buttonlist id="ButtonList1" runat="server">
    </btn:buttonlist>
    <div style="display: none;">
    </div>
    </form>
</body>
</html>
